package com.neusoft.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 用户（商城会员）
 */
public class User {

    private Integer user_id;

    /**
     * 登录账号（唯一）
     */
    private String account;

    /**
     * 用户昵称
     */
    private String nickName;

    public Integer getUser_id() {
		return user_id;
	}

	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	/**
     * 盐值
     */
    @JsonIgnore
    private byte[] salt;

    /**
     * 散列密码
     */
    private byte[] password;

    /**
     * 电话号码（唯一）
     */
    private String phoneNumber;


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public byte[] getSalt() {
        return salt;
    }

    public void setSalt(byte[] salt) {
        this.salt = salt;
    }

    public byte[] getPassword() {
        return password;
    }

    public void setPassword(byte[] password) {
        this.password = password;
    }


}
